package com.gary.core.orm.query;

public class MoreThanQueryItem extends DefaultQueryItem {
	
	public MoreThanQueryItem(){}
	
	public MoreThanQueryItem(String connector, String fieldName, Object value) {
		super(connector,fieldName,value);
	}
	
	@Override
	public Object[] getQueryItem() {
		Object[] result={"",""};
		result[0] = " "+ connector + " "+ fieldName + " > ?";
		result[1] = value;
		return result;
	}
	
	public String toString(){
		return " "+ connector + " "+ fieldName +" > '" + value + "'";
	}
}
